﻿<form id="searchForm" action="?action=search" method="post" enctype="multipart/form-data">
Sök: <input type="text" id="searchField" name="searchF" <?php if(isset($_POST['searchF'])) { ?>  value=<?php echo $_POST['searchF']; } ?> />
<input name="Sall" id="Sall" type="checkbox" <?php if(isset($_POST['Sall'])) { ?>  checked="yes" <?php } ?>/><label for="Sall">Allt</label>
<input name="courses" id="courses" type="checkbox" <?php if(isset($_POST['courses'])) { ?>  checked="yes" <?php } ?> /><label for="courses">Kurser</label>
<input name="exams" id="exams" type="checkbox" <?php if(isset($_POST['exams'])) { ?>  checked="yes" <?php } ?> /><label for="exams">Tenter</label>
<input type="submit" value="Sök"/>
</form>